package com.gxa.employment.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * <p>
 * 学生简历表
 * </p>
 *
 * @author author
 * @since 2025-03-25
 */
@Getter
@Setter
@ToString
@TableName("tb_resume")
public class Resume implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 简历ID
     */
    @TableId(value = "res_id", type = IdType.AUTO)
    private Integer resId;

    /**
     * 学生ID
     */
    @TableField("stu_id")
    private Integer stuId;

    /**
     * 工作经验年份
     */
    @TableField("res_experience_year")
    private Integer resExperienceYear;

    /**
     * 简历文件名
     */
    @TableField("res_file_name")
    private String resFileName;

    /**
     * 简历路径
     */
    @TableField("res_path")
    private String resPath;

    /**
     * 上传时间
     */
    @TableField("res_upload")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private LocalDateTime resUpload;

    /**
     * 是否合格
     */
    @TableField("res_status")
    private Boolean resStatus;

    /**
     * 创建时间
     */
    @TableField("created")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private LocalDateTime created;

    /**
     * 更新时间
     */
    @TableField("updated")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "Asia/Shanghai")
    private LocalDateTime updated;

    /**
     * 逻辑删除标识
     */
    @TableField("deleted")
    private Boolean deleted;
}
